package com.aprivate.kn.ratingsystem.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by kenan on 2018/11/23.
 */

public class DataOfProductList implements I_DataBean {

    /**
     * pageNum : 0
     * pageSize : 10
     * size : 2
     * startRow : 1
     * endRow : 2
     * total : 2
     * pages : 1
     * list : [{"id":16,"name":"测试项目2","templateId":31,"topicIds":"67,68,69,70","status":1,"remark":"测试项目2","createTime":1542549747000,"creator":"admin","editTime":1542553466000,"editor":"admin","yn":1,"propertyScope":"测试项目2","unitName":"测试项目2","secondUnit":"测试项目2","auditLeaderName":"测试项目2","auditLeaderAddress":null,"auditLeaderPhone":null,"auditLeaderEmail":null},{"id":18,"name":"第一个要素有四道题","templateId":34,"topicIds":"67,68,71,72","status":1,"remark":"第一个要素有四道题","createTime":1542549785000,"creator":"admin","editTime":1542550126000,"editor":"admin","yn":1,"propertyScope":"第一个要素有四道题","unitName":"第一个要素有四道题","secondUnit":"第一个要素有四道题","auditLeaderName":"第一个要素有四道题","auditLeaderAddress":null,"auditLeaderPhone":null,"auditLeaderEmail":null}]
     * prePage : 0
     * nextPage : 1
     * isFirstPage : false
     * isLastPage : false
     * hasPreviousPage : false
     * hasNextPage : true
     * navigatePages : 8
     * navigatepageNums : [1]
     * navigateFirstPage : 1
     * navigateLastPage : 1
     * lastPage : 1
     * firstPage : 1
     */

    private int pageNum;
    private int pageSize;
    private int size;
    private int startRow;
    private int endRow;
    private int total;
    private int pages;
    private int prePage;
    private int nextPage;
    private boolean isFirstPage;
    private boolean isLastPage;
    private boolean hasPreviousPage;
    private boolean hasNextPage;
    private int navigatePages;
    private int navigateFirstPage;
    private int navigateLastPage;
    private int lastPage;
    private int firstPage;
    private List<ProductInfoBean> list;
    private List<Integer> navigatepageNums;

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getStartRow() {
        return startRow;
    }

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public int getEndRow() {
        return endRow;
    }

    public void setEndRow(int endRow) {
        this.endRow = endRow;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPrePage() {
        return prePage;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public boolean isIsFirstPage() {
        return isFirstPage;
    }

    public void setIsFirstPage(boolean isFirstPage) {
        this.isFirstPage = isFirstPage;
    }

    public boolean isIsLastPage() {
        return isLastPage;
    }

    public void setIsLastPage(boolean isLastPage) {
        this.isLastPage = isLastPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public int getNavigatePages() {
        return navigatePages;
    }

    public void setNavigatePages(int navigatePages) {
        this.navigatePages = navigatePages;
    }

    public int getNavigateFirstPage() {
        return navigateFirstPage;
    }

    public void setNavigateFirstPage(int navigateFirstPage) {
        this.navigateFirstPage = navigateFirstPage;
    }

    public int getNavigateLastPage() {
        return navigateLastPage;
    }

    public void setNavigateLastPage(int navigateLastPage) {
        this.navigateLastPage = navigateLastPage;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public int getFirstPage() {
        return firstPage;
    }

    public void setFirstPage(int firstPage) {
        this.firstPage = firstPage;
    }

    public List<ProductInfoBean> getList() {
        return list;
    }

    public void setList(List<ProductInfoBean> list) {
        this.list = list;
    }

    public List<Integer> getNavigatepageNums() {
        return navigatepageNums;
    }

    public void setNavigatepageNums(List<Integer> navigatepageNums) {
        this.navigatepageNums = navigatepageNums;
    }

    public static class ProductInfoBean implements Serializable {
        /**
         * id : 16
         * name : 测试项目2
         * templateId : 31
         * topicIds : 67,68,69,70
         * status : 1
         * remark : 测试项目2
         * createTime : 1542549747000
         * creator : admin
         * editTime : 1542553466000
         * editor : admin
         * yn : 1
         * propertyScope : 测试项目2
         * unitName : 测试项目2
         * secondUnit : 测试项目2
         * auditLeaderName : 测试项目2
         * auditLeaderAddress : null
         * auditLeaderPhone : null
         * auditLeaderEmail : null
         */
        //新添加用于表示是否是标题
        private boolean isFirstProject = false;
        private long id;
        private String name;
        private int templateId;
        private String topicIds;
        private int status;
        private String remark;
        private long createTime;
        private String creator;
        private long editTime;
        private String editor;
        private int yn;
        private String propertyScope;
        private String unitName;
        private String secondUnit;
        private String auditLeaderName;
        private String auditLeaderAddress;
        private String auditLeaderPhone;
        private String auditLeaderEmail;

        public boolean isFirstProject() {
            return isFirstProject;
        }

        public void setFirstProject(boolean firstProject) {
            isFirstProject = firstProject;
        }

        public long getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getTemplateId() {
            return templateId;
        }

        public void setTemplateId(int templateId) {
            this.templateId = templateId;
        }

        public String getTopicIds() {
            return topicIds;
        }

        public void setTopicIds(String topicIds) {
            this.topicIds = topicIds;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getCreator() {
            return creator;
        }

        public void setCreator(String creator) {
            this.creator = creator;
        }

        public long getEditTime() {
            return editTime;
        }

        public void setEditTime(long editTime) {
            this.editTime = editTime;
        }

        public String getEditor() {
            return editor;
        }

        public void setEditor(String editor) {
            this.editor = editor;
        }

        public int getYn() {
            return yn;
        }

        public void setYn(int yn) {
            this.yn = yn;
        }

        public String getPropertyScope() {
            return propertyScope;
        }

        public void setPropertyScope(String propertyScope) {
            this.propertyScope = propertyScope;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getSecondUnit() {
            return secondUnit;
        }

        public void setSecondUnit(String secondUnit) {
            this.secondUnit = secondUnit;
        }

        public String getAuditLeaderName() {
            return auditLeaderName;
        }

        public void setAuditLeaderName(String auditLeaderName) {
            this.auditLeaderName = auditLeaderName;
        }

        public String getAuditLeaderAddress() {
            return auditLeaderAddress;
        }

        public void setAuditLeaderAddress(String auditLeaderAddress) {
            this.auditLeaderAddress = auditLeaderAddress;
        }

        public String getAuditLeaderPhone() {
            return auditLeaderPhone;
        }

        public void setAuditLeaderPhone(String auditLeaderPhone) {
            this.auditLeaderPhone = auditLeaderPhone;
        }

        public String getAuditLeaderEmail() {
            return auditLeaderEmail;
        }

        public void setAuditLeaderEmail(String auditLeaderEmail) {
            this.auditLeaderEmail = auditLeaderEmail;
        }
    }
}
